package com.weather.data.entity.VO;

import com.weather.data.entity.DO.SkyParameter;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * @author HanYiMing
 * @description
 * @date 2024/12/24
 * @lastEditDate 2024/12/24
 * @lastEditAuthor
 * @lastDescription
 */
@Data
public class SkyEngineSaveVO {

    @Schema(description = "名称")
    @NotEmpty(message = "名称不能为空")
    private String name;

    @Schema(description = "请求地址")
    @NotEmpty(message = "请求地址不能为空")
    private String url;

    @Schema(description = "要素名称")
    @NotEmpty(message = "要素名称不能为空")
    private String elements;

    @Schema(description = "类型")
    @NotEmpty(message = "类型不能为空")
    private String type;

    @Schema(description = "接口id")
    @NotEmpty(message = "接口id不能为空")
    private String interfaceId;

    @Schema(description = "数据代码")
    @NotEmpty(message = "数据代码不能为空")
    private String dataCode;

    @Schema(description = "服务节点id")
    @NotEmpty(message = "服务节点id不能为空")
    private String serviceNodeId;

    @Schema(description = "接口名称")
    @NotEmpty(message = "接口名称不能为空")
    private String interfaceName;

    @Schema(description = "数据名称")
    @NotEmpty(message = "数据名称不能为空")
    private String dataName;


    private List<SkyParameter> skyParameters;
}
